﻿Public Class Chamado
    'CHA_D_VERSAO,CHA_RESPONSAVEL
    Private fCodigo As Integer
    Private fData As DateTime
    Private fSolucao As String
    Private fComentarios As List(Of Comentario)
    Private fTecnicos As List(Of Tecnico)
    Private fDataPrevisaoSolucao As DateTime
    Private fTempoEstimado As DateTime
    Private fDataAbertura As DateTime
    Private fDataConclusao As DateTime
    Private fTarefas As List(Of Tarefa)
    Private fLoja As Loja
    Private fUsuario As Usuario
    Private fContatoOld As String
    Private fTecnicoOld As Tecnico
    Private fTelaOld As Tela
    Private fProblema As String
    Private fCliente As Cliente
    Private fSistema As Sistema
    Private fTipo As Integer
    Private fPrioridade As Integer
    Private fVersao As DateTime
    Private fStatus As Integer

    Public Property Status As Integer
        Get
            Return fStatus
        End Get
        Set(ByVal value As Integer)
            fStatus = value
        End Set
    End Property

    Public Property Versao As DateTime
        Get
            Return fVersao
        End Get
        Set(ByVal value As DateTime)
            fVersao = value
        End Set
    End Property

    Public Property Prioridade As Integer
        Get
            Return fPrioridade
        End Get
        Set(ByVal value As Integer)
            fPrioridade = value
        End Set
    End Property

    Public Property Tipo As Integer
        Get
            Return fTipo
        End Get
        Set(ByVal value As Integer)
            fTipo = value
        End Set
    End Property

    Public Property Sistema As Sistema
        Get
            Return fSistema
        End Get
        Set(ByVal value As Sistema)
            fSistema = value
        End Set
    End Property

    Public Property Cliente As Cliente
        Get
            Return fCliente
        End Get
        Set(ByVal value As Cliente)
            fCliente = value
        End Set
    End Property

    Public Property Problema As String
        Get
            Return fProblema
        End Get
        Set(ByVal value As String)
            fProblema = value
        End Set
    End Property

    Public Property TelaOld As Tela
        Get
            Return fTelaOld
        End Get
        Set(ByVal value As Tela)
            fTelaOld = value
        End Set
    End Property


    Public Property ContatoOld As String
        Get
            Return fContatoOld
        End Get
        Set(ByVal value As String)
            fContatoOld = value
        End Set
    End Property

    Public Property TecnicoOld As Tecnico
        Get
            Return fTecnicoOld
        End Get
        Set(ByVal value As Tecnico)
            fTecnicoOld = value
        End Set
    End Property

    Public Property Loja As Loja
        Get
            Return fLoja
        End Get
        Set(ByVal value As Loja)
            fLoja = value
        End Set
    End Property

    Public Property Usuario As Usuario
        Get
            Return fUsuario
        End Get
        Set(ByVal value As Usuario)
            fUsuario = value
        End Set
    End Property


    Public Property Tarefa As List(Of Tarefa)
        Get
            Return fTarefas
        End Get
        Set(ByVal value As List(Of Tarefa))
            fTarefas = value
        End Set
    End Property

    Public Property DataPrevisaoSolucao As DateTime
        Get
            Return fDataPrevisaoSolucao
        End Get
        Set(ByVal value As DateTime)
            fDataPrevisaoSolucao = value
        End Set
    End Property

    Public Property TempoEstimado As DateTime
        Get
            Return fTempoEstimado
        End Get
        Set(ByVal value As DateTime)
            fTempoEstimado = value
        End Set
    End Property

    Public Property DataAbertura As DateTime
        Get
            Return fDataAbertura
        End Get
        Set(ByVal value As DateTime)
            fDataAbertura = value
        End Set
    End Property

    Public Property DataConclusao As DateTime
        Get
            Return fDataConclusao
        End Get
        Set(ByVal value As DateTime)
            fDataConclusao = value
        End Set
    End Property

    Public Property Tecnicos As List(Of Tecnico)
        Get
            Return fTecnicos
        End Get
        Set(ByVal value As List(Of Tecnico))
            fTecnicos = value
        End Set
    End Property


    Public Property Comentarios As List(Of Comentario)
        Get
            Return fComentarios
        End Get
        Set(ByVal value As List(Of Comentario))
            fComentarios = value
        End Set
    End Property

    Public Property Codigo As Integer
        Get
            Return fCodigo
        End Get
        Set(ByVal value As Integer)
            fCodigo = value
        End Set
    End Property

    Public Property DataCadastro As DateTime
        Get
            Return fData
        End Get
        Set(ByVal value As DateTime)
            fData = value
        End Set
    End Property

    Public Property Solucao As String
        Get
            Return fSolucao
        End Get
        Set(ByVal value As String)
            fSolucao = value
        End Set
    End Property


End Class
